package com.sch.www.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sch.www.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2019-05-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("oauth_client_details")
public class OauthClientDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * client_id
     */
    private String clientId;

    /**
     * resource_ids
     */
    private String resourceIds;

    /**
     * 密钥明文
     */
    private String clientSecretPlainText;

    /**
     * client_secret
     */
    private String clientSecret;

    /**
     * 授权范围
     */
    private String scope;

    /**
     * 授权类型
     */
    private String authorizedGrantTypes;

    private String webServerRedirectUri;

    private String authorities;

    /**
     * access_token有效时间
     */
    private String accessTokenValidity;

    /**
     * refresh_token有效时间
     */
    private String refreshTokenValidity;

    private String additionalInformation;

    private String autoapprove;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建时间
     */
    private String createDate;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 修改时间
     */
    private String modifyDate;

    /**
     * 删除标记
     */
    private String delFlag;

    /**
     * 系统编号
     */
    private String applicationCode;


}
